package com.liuzu.esys.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author : 松松
 * @date : 2022/7/25
 * @desc : 员工财务实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class FinUser {

    //员工财务账单编号
    private Integer id;

    //员工编号
    private Integer uid;

    //名字
    private String name;

    //职位
    private String position;

    //月工资
    private String salary;

    //支付日期
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date date;


}
